/**   
* @Title: LogpoolBaseController.java 
* @Package com.medsoft.logpool.action 
* @Description: TODO(用一句话描述该文件做什么) 
* @author zjhua@hundsun.com   
* @date 2016年7月12日 上午9:53:38 
* @version V1.0   
*/ 
package com.medsoft.logpool.action;

import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;

import com.cyl.kernel.BaseController;
import com.medsoft.logpool.core.MetadataContainer;

/**
 * @author zjhua
 *
 */
public class LogpoolBaseController extends BaseController {
	@ModelAttribute
	public void init(Model model) {
		model.addAttribute("appnames", MetadataContainer.getAppname());
		model.addAttribute("hostnames", MetadataContainer.getHostname());
		model.addAttribute("loglevels", MetadataContainer.getLogLevel());
	}
}
